package com.nbicc.news.mapper;

import com.nbicc.news.po.NewsInfo;
import com.nbicc.parent.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

public interface NewsInfoMapper extends BaseMapper<NewsInfo> {

    NewsInfo selectPrevious(@Param("catId") int catId,@Param("newsId") long newsId);

    NewsInfo selectNext(@Param("catId")int catId,@Param("newsId") long newsId);

}
